"""
参数顺序：位置参数>*args>默认值参数>**kwargs
系统函数：
    def print(self, *args, sep=' ', end='\n', file=None): # known special case of print
    def format(self, *args, **kwargs): # known special case of str.format
"""
book = {'book_name': 'Web安全攻防', 'author': 'xlw', 'number': 5}
print(book, 'hello', sep='--')

print('{}{}{}'.format('11', '22', '33'))

print('{name}-{age}-{sex}'.format(name='11', age='22', sex='男'))

# 列表和字符串相互转换
list1 = ['a', 'b', 'c']
result = '-'.join(list1)
print(result)
print(result.split('-'))
